package com.gb.models.user.service;

import com.gb.models.user.dao.SysPermissionDao;
import com.gb.models.user.model.SysPermissionEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

@Service
public class SysPermissionService {

	@Resource
	private SysPermissionDao sysPermissionDao;
	

	public List<SysPermissionEntity> queryListByUserId(Long userId){
		return sysPermissionDao.queryListByUserId(userId);
	}

}
